package com.kunge2013.service.registry.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author kunge2013
 * @Description TODO
 * @Date 2024/10/28 13:05
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "zk")
@Data
public class ZookeeperConfig {
    boolean enabled = true;
    String server;
    String namespace;
    String digest;
    int sessionTimeoutMs;
    int connectionTimeoutMs;
    int maxRetries;
    int baseSleepTimeMs;
}
